﻿<Window x:Class="Demo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ResizeMode="NoResize"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" WindowStartupLocation="CenterScreen"
        xmlns:ctl="clr-namespace:Thinktecture.DataForm.Controls;assembly=Thinktecture.DataForm"
        Title="UI Annotations Demo" Height="332" Width="465">
    
    <Window.Background>
        <RadialGradientBrush>
            <GradientStop Color="White" Offset="0" />
            <GradientStop Color="#FFCDD6EF" Offset="1" />
        </RadialGradientBrush>
    </Window.Background>

    <Grid Margin="50">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="10" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Button Name="openDataFormButton" Content="Data Form" Grid.Row="0" Width="120" Height="33" Click="openDataFormButton_Click" />
        <StackPanel Width="120" Grid.Row="2">
            <TextBlock Text="Language"/>
            <ComboBox SelectedIndex="0" SelectionChanged="OnLanguageSelectionChanged">
                <ComboBoxItem>English</ComboBoxItem>
                <ComboBoxItem>German</ComboBoxItem>
            </ComboBox>
        </StackPanel>
    </Grid>
</Window>
